package com.wwl.cms.repository;

import com.wwl.cms.entity.TUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.Optional;

/**
 * @author wwl
 * @version 1.0
 * @date 2021/12/7 16:11
 * @description:
 */
@Repository
public interface TUserRepository extends JpaRepository<TUser,Long>, JpaSpecificationExecutor<TUser> {
    Optional<TUser> findById(Long id);

}
